#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import unittest
from mydict import Dict
class TestDict(unittest.TestCase):
    def test_init(self):
        d = Dict(a = 1,b = 'test')
        self.assertEqual(d.a, 1)
        self.assertEqual(d.b, 'test')
        self.assertTrue(isinstance(d, dict))
        # print('--------')

if __name__ == '__main__':
    unittest.main()
